package com.burst.reptile.modular.zp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.burst.reptile.framework.web.entity.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户专栏列表
 * </p>
 *
 * @author wujin
 * @since 2020-06-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("zp_category")
public class ZpCategory extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 专栏id
     */
    @TableId(value = "category_id", type = IdType.AUTO)
    private Integer categoryId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 专栏名称
     */
    private String categoryName;

}
